<template>
  <div>
    <ul class="login">
      <li><input type="text"
               class="username"
               placeholder="账号" v-model="name"></li>
      <li><input class="password"
               placeholder="密码" type="password" v-model="pwd">
               <!-- <input class="text"
               placeholder="密码" type="password" v-else v-model="pwd"> -->
              
        <i class="iconfont icon-yanjing"></i>
      </li>
      <li><input type="text"
               class="required"
               placeholder="验证码">
        <div class="code"><img src=""
               class="imgcode"
               ref="configcode">
          <div class="des">
            <span>看不清?</span>
            <span class="changecode">换一张</span>
          </div>
        </div>
      </li>
    </ul>
    <div class="notice">温馨提示：未注册过的账号，登录时将自动注册，</div>
  <div class="notice1">注册过的用户可凭账号密码登录</div>
    <button class="loginbtn">登录</button>

    <div class="toregist"><span>注册?</span><span>重置密码?</span></div>
  </div>
</template>

<script>

export default {
  data(){
    return{
      // shoepwd:flase,
      pwd:'',
      name:'',
      // captcha:''
    }
  }

}
</script>

<style lang="less">
 .login{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    li{
      height: 48.13px;
      border-bottom: 1px solid #e4e4e4;
      position: relative;
      input{
        width: 100%;
        border: none;
        outline: none;
        padding: 14px 18px;
        box-sizing: border-box;
        font-size: 14px;
      }
      i{
        position: absolute;
        right: 24px;
        top: 15px;
        font-size: 18px;
      }
    }
  }

  .select{
    color: #3b95e9;
  }
  .code{
    display: flex;
    position: absolute;
    height: 100%;
    top: 0;
    right: 15px;
    font-size: 12px;
    .des{
      display: flex;
      flex-direction: column;
      justify-content: space-around;

      .changecode{
        color: #3b95e9;

      }
    }
  }

  .notice{
    margin: 12px 0;
    color: red;
    font-size: 12px;
    padding: 0 15px;
  }
   .notice1{
    margin: 12px 0;
    color: red;
    font-size: 12px;
    padding: 0 15px;
  }
  .loginbtn{
    width: 80%;
    background-color: #4cd964;
    height: 44.44px;
    margin: 0 auto;
    display: block;
    outline: none;
    border: none;
    color: white;
    border-radius: 3px;
    margin-top: 20px;
  }

  .toregist{
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    margin-top: 10px;
    color: #3b95e9;
  }
</style>